package net.yiny.scrummer.model

import static org.hamcrest.MatcherAssert.assertThat
import static org.hamcrest.Matchers.is
import org.testng.annotations.Test

public class TestCard {

    @Test
    void id() {
        def card = new Card()
        card.id = 100L
        assertThat card.id, is(100L)
    }

    @Test
    void name() {
        def card = new Card()
        card.name = 'Test Name'
        assertThat card.name, is('Test Name')
    }

    @Test
    void description() {
        def card = new Card()
        card.description = 'This is a test description'
        assertThat card.description, is('This is a test description')
    }
}